package com.turing.user.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LoginVO {

    private LoginTokenVO loginTokenVO;

    private List<Menu> menuList;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Menu{

        private Integer id;

        private Integer parentId;

        private List<Menu> childNodes;

        private String privilegeName;

        private String name;

    }

}
